package com.ase.design.工厂模式.简单工厂;

/**
 * @author gyhstart
 * @create 2021/5/11 - 21:55
 **/
public class Test {
    public static void main(String[] args) {
        MaskFactory maskFactory = new MaskFactory();
        IMask lowMask = maskFactory.createMask("高端口罩");
        IMask highMask = maskFactory.createMask("低端口罩");

        lowMask.show();
        highMask.show();
    }
}
